package com.housing.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zmetaport.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 【请填写功能名称】对象 attachment
 *
 * @author chensm
 * @date 2024-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("attachment")
public class Attachment extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    
    /**
     * 1、房源 2、物品
     */
    private Integer sourceType;

    /**
     * 
     */
    private Long sourceId;

     
    private String fileType;

    /**
     * 
     */
    private String fileUrl;


}
